package com.learn.project2.model.bo.admin.storage;

import lombok.Data;

/**
 * @Classname StorageUpdateBO
 * @Description
 * @author王茁
 * @Date 2022/1/7 19:37
 */
@Data
public class StorageUpdateBO {
    /**
     * id : 113
     * key : dot42hf71ts0e3b9kzoo.jpg
     * name : dog11.jpg
     * type : image/jpeg
     * size : 30534
     * url : http://182.92.235.201:8083/wx/storage/fetch/dot42hf71ts0e3b9kzoo.jpg
     * addTime : 2022-01-07 19:32:10
     * updateTime : 2022-01-07 19:32:10
     * deleted : false
     */
    private int id;
    private String key;
    private String name;
    private String type;
    private int size;
    private String url;
    private String addTime;
    private String updateTime;
    private boolean deleted;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
